package com.mdz.sbgl.Entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 孟德志
 * @since 2020-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("whflb")
public class Whflb extends Model<Whflb> {

    private static final long serialVersionUID=1L;

    /**
     * 自增ID号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 公司ID编码
     */
    @TableId(value = "gsid")
    private String gsid;

    /**
     * 故障分类
     */
    @TableField("gzfl")
    private String gzfl;

    /**
     * 故障原因
     */
    @TableField("gzyy")
    private String gzyy;

    /**
     * 解决方案
     */
    @TableField("jjfa")
    private String jjfa;


    @Override
    protected Serializable pkVal() {
        return this.gsid;
    }

}
